package com.baway.home.repo

import com.bw.lib_common.model.BaseRepository
import com.bw.lib_http.OkHttpClientManager
import com.bw.module_home.api.HomeApiServer


class HomeRepo: BaseRepository<HomeApiServer>() {

    override fun createApiServer(): HomeApiServer = OkHttpClientManager.retrofitInstance.create(HomeApiServer::class.java)

    suspend fun getHomeList(page: Int, size: Int) = apiService.getHomeList(page, size)

}